package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
// 告诉Mybatis-plus，这个类与数据库中的哪张表有关
@TableName(value = "checkroom")
public class CheckRoom {

    private Integer id;
    @TableField("dormbuild_id")
    private int dormbuildid;
    @TableField("dormroom_id")
    private int dormroomid;
    private String studentname;
    private String studentid;
    private String checksituation;
    private String healthsituation;
    private Date checktime;
    private int ydpeople;
    private int sdpeople;
    private String checktimestr;
    private String grade;
    private String remark;

}
